<template>
  <el-form :model="form" label-width="120px">
 
                    <JmInput jmname="名称" v-model="form.name"></JmInput>
                    <JmInput jmname="标识" v-model="form.mark"></JmInput>
 	       <el-form-item>
                      <el-button type="primary" @click="onSubmit">Create</el-button>
                  
                    </el-form-item>
 
  </el-form>
</template>
 
<script>
import JmInput from "../../../components/form/JmInput.vue";
import JmEnum from "../../../components/form/JmEnum.vue";
export default {
  components: { JmInput, JmEnum },
  data() {
    return {
         form: {
                name: '1',
                mark: "1",
                
            }, 
    };
  }, 
  methods: {
    onSubmit() { 
      const res = this.$api.addLinkzone(this.form); 
       this.$parent.$parent.$parent.$parent.handleClose();   
      console.log(res);
    },
  },
};
</script>
<style>
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 32px;
  font-weight: 600;
}
.demo-tabs .custom-tabs-label .el-icon {
  vertical-align: middle;
}
.demo-tabs .custom-tabs-label span {
  vertical-align: middle;
  margin-left: 4px;
}
</style>